package com.yxt.dispatch.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 
 * 
 * @author august
 * @email 379249906@qq.com
 * @date 2020-08-22 16:47:32
 */
@Data
@TableName("sys_generator")
public class GeneratorEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	/**
	 * 年龄
	 */
	private String name;
	/**
	 * 年龄
	 */
	private Integer age;
	/**
	 * 
	 */
	private BigDecimal salary;

}
